package com.xywl.escort.view.pay.project;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.BaseResp;
import com.xywl.escort.bean.PayConfirmReq;
import com.xywl.escort.bean.SetPayPwdReq;

public interface ProjectPayConfirmContract {

    interface Presenter extends BasePresenter {
        void takeView(ProjectPayConfirmContract.View view);

        void payApply(String id, String payPwd);

        void payConfirm(PayConfirmReq req);
    }

    interface View extends BaseView<Presenter> {
        void payApplySuccess(String data);

        void payApplyFailure(String msg);

        void payConfirmSuccess(BaseResp resp);

        void payConfirmFailure(String msg);
    }
}